/* 
 * File:   sensors.h
 *
 * Created on April 8, 2013, 2:41 PM
 */

#pragma once

#define SENSOR_IR 0
#define SENSOR_MIDDLE_PHOTO 1
#define SENSOR_LEFT_PHOTO 2
#define SENSOR_RIGHT_PHOTO 3

void InitializeSensors(void);

void StartSensors(void);
void PauseSensors(void);

unsigned int GetCurrentSensorValue(int sensor);
unsigned int GetFilteredSensorValue(int sensor);

int IsMiddlePhotoOnTape();
int IsRightPhotoOnTape();
int IsLeftPhotoOnTape();
